﻿using System;
using System.Collections.Generic;

namespace EIP.Common.Message.Email.Dto
{
    /// <summary>
    /// 微信公众号消息
    /// </summary>
    public class SendOffiAccountInput : MessageBaseInput
    {
        /// <summary>
        /// 模板Id
        /// </summary>
        public Guid? TemplateId { get; set; }

        /// <summary>
        /// 授权
        /// </summary>
        public Guid? OauthId { get; set; }

        /// <summary>
        /// 跳转地址
        /// </summary>
        public string ReturnUrl { get; set; }

        /// <summary>
        /// 参数配置情况
        /// </summary>
        public IList<SendOffiAccountNoticeMessageOutput> Parameter { get; set; }
    }
    public class SendOffiAccountNoticeMessageOutput
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }
    }
    /// <summary>
    /// 微信公众号消息
    /// </summary>
    public class SendOffiAccountUserInput
    {
        /// <summary>
        /// 模板Id
        /// </summary>
        public string WeiXinOffiAccountTemplateId { get; set; }

        /// <summary>
        /// 授权
        /// </summary>
        public string AccessToken { get; set; }

        /// <summary>
        /// 用户关注后OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string AppId { get; set; }
    }
}